<?php
/**
 * ScreensController.php
 *
 * @copyright   2023 thingsworld.com.cn - All Rights Reserved
 * @link        http://thingsworld.com.cn/
 * @author      stiffer.chen <chenl@thingsworld.com.cn>
 * @created     2023-02-16 16:33:34
 * @modified    2023-02-16 16:33:34
 *
 */

namespace App\Http\Controllers;

use App\Repositories\ScreenRepo;
use Illuminate\Http\Request;

class ScreensController extends BaseController
{
    /**
     * @OA\Get(
     *     path="/screens/operation",
     *     tags={"大屏数据接口"},
     *     summary="运营大屏数据接口",
     *     operationId="screens_operation",
     *     security={{"bearerAuth":{}}},
     *     @OA\Response(response=200, description="请求成功"),
     *     @OA\Response(response=401,description="鉴权失败"),
     *     @OA\Response(response=422, description="请求异常")
     * )
     */
    public function operation(Request $request)
    {
        return message('获取成功', true, ScreenRepo::operation());
    }
}